package com.zjj.springstu.use.coreConcept.service;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zhanglei.zjj
 * @description TODO
 * @date 2023/4/18 23:32
 */
public class TestT <T> {
    public static void main(String[] args) {
        new TestT<>().pf();

    }
    private void pf () {
        List<T> list = new ArrayList<>();
        List<User> userList = new ArrayList<>();
        System.out.println(list.getClass().isAssignableFrom(userList.getClass()));
    }
}
